<script setup>
import { provideTableKey } from '../../../hooks/use-provide-key'

const { schema } = inject(provideTableKey)

const { field } = defineProps({
  field: Object,
})

defineOptions({ name: 'RenderLabel' })
</script>

<template>
  <div>
    <label
      :key="field.props.id"
      v-bind="field.props"
    >
      {{ field.props.value }}
    </label>
  </div>
</template>
